package com.dp.factory.factory_method.factory.impl;

import com.dp.factory.factory_method.factory.FreeGoodsFactory;
import com.dp.factory.simple_factory.service.IFreeGoods;
import com.dp.factory.simple_factory.service.impl.SmallGiftFreeGoods;

/**
 * @Author: Ruomeng
 * @Date: 2024/11/26
 * @Description : design-pattern
 * 生产小礼品发放具体接口实现
 * @Version: 1.0
 */
public class SmallGiftFreeGoodsFactory implements FreeGoodsFactory {
    @Override
    public IFreeGoods getInstance() {
        return new SmallGiftFreeGoods();
    }
}
